//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Mapping Application Block
//===============================================================================

using System.ComponentModel;
using Microsoft.Practices.EnterpriseLibrary.Configuration.Design;
using EntLibContrib.Mapping.Properties;

namespace EntLibContrib.Mapping.Configuration.Design
{
	/// <summary>
	/// Represents the root configuration for the Mapping Application Block.
	/// </summary>
	[Image(typeof(MappingSettingsNode))]
	[SelectedImage(typeof(MappingSettingsNode))]
	public sealed class MappingSettingsNode : ConfigurationSectionNode
	{
		#region Properties
		/// <summary>
		/// <para>Gets the name for the node.</para>
		/// </summary>
		/// <value>
		/// <para>The display name for the node.</para>
		/// </value>		
		[ReadOnly(true)]
		public override string Name
		{
			get { return base.Name; }
		}
		#endregion

		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="MappingSettingsNode"/> class.
		/// </summary>		
		public MappingSettingsNode()
			: base(InternalResources.DefaultMappingSettingsNodeName)
		{
		}
		#endregion
	}
}